package com.example.ying.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Timestamp;

@TableName(value = "movie")
@Data
public class Movie {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer doubanId;
    private String title;   //电影名称
    private Timestamp createTime;    //创建时间
    private Timestamp updateTime;    //更新时间
    private String pic;   //封面路径
    private String director;    //导演
    private String composer;    //编剧
    private String actor;       //主演
    private String category;   //类型
    private String district;   //地区
    private String language;   //语言
    private Short showTime;   //上映日期
    private Short duration;    //电影时长
    private Double rate;      //评分
}
